package com.chance.cc.crawler.development.command.publish.youku;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.development.command.job.domain.youku.YouKuRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.development.command.trigger.domain.youku.YouKuCrawlerTriggerInfo;

/**
 * @Author Zhao.Hhuan
 * @Date Create in 2021/3/16 11:25
 * @Description
 *      西祠胡同
 **/
public class YouKuPublishCrawlerJob {
    private static final String domain = "youku";

    public static void main(String[] args) {
        publishSimpleCrawlerJob();

//        YouKuCrawlerScript.publishCrawlerNodeScript();
    }

    private static void publishSimpleCrawlerJob(){
        CrawlerJob crawlerJob = YouKuRealtimeCrawlerSchedulerJob.crawlerSchedulejob();
        YouKuCrawlerTriggerInfo.simpleCrawlerScheduleTriggerInfo(crawlerJob.generateCrawlerKey(),crawlerJob.generateCrawlerTriggerKey());
    }


}
